css: Move the last parser api to the new header
authorMatthias Clasen <mclasen@redhat.com>
Mon, 28 Sep 2020 17:09:54 +0000 (13:09 -0400)
committerAlexander Larsson <alexl@redhat.com>
Tue, 29 Sep 2020 07:51:16 +0000 (09:51 +0200)
This lets us use it from the render node parser
in gsk.

gtk/css/gtkcssparserprivate.h
gtk/gtkcssparserprivate.h

index 349ad6799927fbb7d12dc594b218a16a601d5a9e..9239477020b576cc99acf8f4a6c3c7fb3377a58a 100644 (file)
@@ -151,6 +151,9 @@ gsize                   gtk_css_parser_consume_any              (GtkCssParser
                                                                  gsize                           n_options,
                                                                  gpointer                        user_data);
 
+
+void            _gtk_css_print_string             (GString               *str,
+                                                   const char            *string);
 G_END_DECLS
 
 #endif /* __GTK_CSS_PARSER_H__ */
index c2445b3c3bd991d4a352d5e0c5c338114ff75580..68fa8a18d25bceebd398f192a6c28cdfba22eaaf 100644 (file)
 #include "gtk/css/gtkcsstokenizerprivate.h"
 #include "gtk/css/gtkcssparserprivate.h"
 
-G_BEGIN_DECLS
-
-/* XXX: Find better place to put it? */
-void            _gtk_css_print_string             (GString               *str,
-                                                   const char            *string);
-
-
-G_END_DECLS
-
 #endif /* __GTK_CSS_PARSER_PRIVATE_H__ */